///////////////////////////////////////////////////////////////////////////
// C++ code generated with wxFormBuilder (version Jun 30 2011)
// http://www.wxformbuilder.org/
//
// PLEASE DO "NOT" EDIT THIS FILE!
///////////////////////////////////////////////////////////////////////////

#include "wx/wxprec.h"

#ifdef __BORLANDC__
#pragma hdrstop
#endif //__BORLANDC__

#ifndef WX_PRECOMP
#include <wx/wx.h>
#endif //WX_PRECOMP

#include "LoginDialog.h"

///////////////////////////////////////////////////////////////////////////

LoginDialog::LoginDialog( wxWindow* parent, wxWindowID id, const wxString& title, const wxPoint& pos, const wxSize& size, long style ) : wxDialog( parent, id, title, pos, size, style )
{
	this->SetSizeHints( wxDefaultSize, wxDefaultSize );
	
	wxBoxSizer* bSizerAll;
	bSizerAll = new wxBoxSizer( wxVERTICAL );
	
	wxBoxSizer* bSizerServer;
	bSizerServer = new wxBoxSizer( wxVERTICAL );
	
	wxBoxSizer* bSizerIP;
	bSizerIP = new wxBoxSizer( wxHORIZONTAL );
	
	m_staticServerIP = new wxStaticText( this, wxID_ANY, wxT("登录用户"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticServerIP->Wrap( -1 );
	bSizerIP->Add( m_staticServerIP, 0, wxALIGN_CENTER_VERTICAL|wxALL, 5 );
	
	m_textServerIP = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	bSizerIP->Add( m_textServerIP, 1, wxALL, 5 );
	
	bSizerServer->Add( bSizerIP, 0, wxEXPAND, 5 );
	
	wxBoxSizer* bSizerCode;
	bSizerCode = new wxBoxSizer( wxHORIZONTAL );
	
	m_staticCode = new wxStaticText( this, wxID_ANY, wxT("登录密码"), wxDefaultPosition, wxDefaultSize, 0 );
	m_staticCode->Wrap( -1 );
	bSizerCode->Add( m_staticCode, 0, wxALL, 5 );
	
	m_textServerCode = new wxTextCtrl( this, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, 0 );
	bSizerCode->Add( m_textServerCode, 1, wxALL, 5 );
	
	bSizerServer->Add( bSizerCode, 0, wxEXPAND, 5 );
	
	bSizerAll->Add( bSizerServer, 1, wxEXPAND, 5 );
	
	wxBoxSizer* bSizerButton;
	bSizerButton = new wxBoxSizer( wxHORIZONTAL );
	
	m_buttonIn = new wxButton( this, wxID_ANY, wxT("登录"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizerButton->Add( m_buttonIn, 0, wxALL, 5 );
	
	m_buttonExit = new wxButton( this, wxID_ANY, wxT("退出"), wxDefaultPosition, wxDefaultSize, 0 );
	bSizerButton->Add( m_buttonExit, 0, wxALL, 5 );
	
	bSizerAll->Add( bSizerButton, 0, wxALIGN_RIGHT, 5 );
	
	this->SetSizer( bSizerAll );
	this->Layout();
	
	this->Centre( wxBOTH );
}

LoginDialog::~LoginDialog()
{
}
